package com.cqut.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.util.AutoPopulatingList;

/**
 * <p>
 * 非空
 * </p>
 *
 * @author 冯永龙
 * @since 2021-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String jobNumber;

    /**
     * 可以根据账号登录，非空
     */
    private String account;

    private String name;

    private String password;

    private String school;

    private String academy;

    private String major;

    private String clazz;

    private String enterTime;

    private String grade;

    /**
     * 0为老师，1为学生
     */
    private Integer usertype;

    private String mobile;

    private String teachCourse;

    private String email;

    private String wechat;
}
